Optimal. Leaf size=11 \[ \frac{B \sin (c+d x)}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0087709, antiderivative size = 11, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 32, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.062, Rules used = {21, 2637} \[ \frac{B \sin (c+d x)}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 21
Rule 2637
Rubi steps
\begin{align*} \int \frac{\cos (c+d x) (a B+b B \cos (c+d x))}{a+b \cos (c+d x)} \, dx &=B \int \cos (c+d x) \, dx\\ &=\frac{B \sin (c+d x)}{d}\\ \end{align*}
Mathematica [B] time = 0.0073006, size = 23, normalized size = 2.09 \[ B \left (\frac{\sin (c) \cos (d x)}{d}+\frac{\cos (c) \sin (d x)}{d}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.046, size = 12, normalized size = 1.1 \begin{align*}{\frac{B\sin \left ( dx+c \right ) }{d}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.40392, size = 24, normalized size = 2.18 \begin{align*} \frac{B \sin \left (d x + c\right )}{d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.746644, size = 31, normalized size = 2.82 \begin{align*} \begin{cases} \frac{B \sin{\left (c + d x \right )}}{d} & \text{for}\: d \neq 0 \\\frac{x \left (B a + B b \cos{\left (c \right )}\right ) \cos{\left (c \right )}}{a + b \cos{\left (c \right )}} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.39754, size = 15, normalized size = 1.36 \begin{align*} \frac{B \sin \left (d x + c\right )}{d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]